﻿using DataAccess.DAO;
using FluentNHibernate.Mapping;

namespace DataAccess.Mappings
{
    public class UserPreferenceMap : ClassMap<UserPreferenceDAO>
    {
        public UserPreferenceMap()
        {
            Id(x => x.UserPreferenceId);
            Map(x => x.UserId);
            Map(x => x.PreferenceId);
        }
    }
}
